<%--
  Created by IntelliJ IDEA.
  User: owner
  Date: 2018-08-06
  Time: 23:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="search">
    <a href="#"><img src="img/site/logo.gif" alt="logo" ></a>
    <div class="mysearch">
        <form action="foresearch" method="post">
            <input type="text" placeholder="时尚男鞋  太阳镜" name="key">
            <button type="submit" class="searchButton">搜索</button>
        </form>

        <div class="searchBelow">
            <c:forEach items="${categories}" var="cat" begin="5" end="8" varStatus="st">
                <span><a href="/forecategory?cid=${cat.id}">${cat.name}</a></span>
                <c:if test="${st.count!=4}">
                    <span>|</span>
                </c:if>
            </c:forEach>
        </div>
    </div>
</div>
